//
//  ControllerManager.m
//  813DeepBreathing
//
//  Created by rimi on 15/8/13.
//  Copyright (c) 2015年 魏攀. All rights reserved.
//

#import "ControllerManager.h"

@interface ControllerManager ()

@end
@implementation ControllerManager
+ (ControllerManager *)sharedManager {
    /**< 线程安全的单例创建 */
        static ControllerManager *manager;
        static dispatch_once_t onceToken;
        dispatch_once(&onceToken, ^{
            manager = [[ControllerManager alloc]init];
        });
        return manager;
}
#pragma mark - getter
- (MainTabBarController *)rootViewController {
    if (!_rootViewController) {
        _rootViewController = [[MainTabBarController alloc]init];
    }
    return _rootViewController;
}
@end
